lcBlockAddRect Home

Adds a new rectangle object into a block.

 HANDLE lcBlockAddRect (
   HANDLE hBlock,
   double X,
   double Y,
   double Width,
   double Height,
   double Angle,
   BOOL bFilled
 );

Parameters
hBlock
  Handle to a block.
X Y
  Coordinates of a center point.
Width
  Width of a rectangle.
Height
  Height of a rectangle.
Angle
  Rotation angle relative to center.
bFilled
  If TRUE then inner area of the rectangle will be filled with color.

Return Value

  Handle to rectangle object or NULL if the function fails.

See Also

  lcBlockAddRect2